package com.csl.ws.server;

public class PublishService {

	public static void main(String[] args) {
		 
		/**
		JaxWsServerFactoryBean factoryBean=new JaxWsServerFactoryBean();  
		factoryBean.setAddress(url);  
		factoryBean.setServiceClass(IQueryUser.class);  
		factoryBean.setServiceBean(new QueryUserImpl());  
		factoryBean.create()
		*/
		/**
		ServerFactoryBean svrFactory = new ServerFactoryBean();  
		//设置服务接口类  
		svrFactory.setServiceClass(IQueryUser.class);  
		svrFactory.setAddress("http://localhost:8080/queryUser");  
		//设置服务实现接口类  
		svrFactory.setServiceBean(QueryUserImpl);  
		svrFactory.create();
		*/
	}

}
